package com.hhit.collaborative_learning.entity;

import java.sql.Date;

public class BBSClass {
	private int id;
	private int parentID;
	private String name;
	private String key;
	private int sortorder;
	private String intro;
	private String rule;
	private int topiccount;
	private int replycount;
	private String levelpath;
	private int depth;
	private int lastTopicID;
	private String url;
	private String imageurl;
	private int createby;
	private int enable; // 只能接受0、1
	private Date createdon;

	public BBSClass() {
		super();
		// TODO Auto-generated constructor stub
	}

	public BBSClass(int id, int parentID, String name, String key,
			int sortorder, String intro, String rule, int topiccount,
			int replycount, String levelpath, int depth, int lastTopicID,
			String url, String imageurl, int createby, int enable,
			Date createdon) {
		super();
		this.id = id;
		this.parentID = parentID;
		this.name = name;
		this.key = key;
		this.sortorder = sortorder;
		this.intro = intro;
		this.rule = rule;
		this.topiccount = topiccount;
		this.replycount = replycount;
		this.levelpath = levelpath;
		this.depth = depth;
		this.lastTopicID = lastTopicID;
		this.url = url;
		this.imageurl = imageurl;
		this.createby = createby;
		this.enable = enable;
		this.createdon = createdon;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getParentID() {
		return parentID;
	}

	public void setParentID(int parentID) {
		this.parentID = parentID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public int getSortorder() {
		return sortorder;
	}

	public void setSortorder(int sortorder) {
		this.sortorder = sortorder;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public int getTopiccount() {
		return topiccount;
	}

	public void setTopiccount(int topiccount) {
		this.topiccount = topiccount;
	}

	public int getReplycount() {
		return replycount;
	}

	public void setReplycount(int replycount) {
		this.replycount = replycount;
	}

	public String getLevelpath() {
		return levelpath;
	}

	public void setLevelpath(String levelpath) {
		this.levelpath = levelpath;
	}

	public int getDepth() {
		return depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	public int getLastTopicID() {
		return lastTopicID;
	}

	public void setLastTopicID(int lastTopicID) {
		this.lastTopicID = lastTopicID;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getImageurl() {
		return imageurl;
	}

	public void setImageurl(String imageurl) {
		this.imageurl = imageurl;
	}

	public int getCreateby() {
		return createby;
	}

	public void setCreateby(int createby) {
		this.createby = createby;
	}

	public int getEnable() {
		return enable;
	}

	public void setEnable(int enable) {
		this.enable = enable;
	}

	public Date getCreatedon() {
		return createdon;
	}

	public void setCreatedon(Date createdon) {
		this.createdon = createdon;
	}

}
